<?php
namespace app\model\bank;

use think\Model;
class BankModel extends Model {

    protected $table = 'bank';

//    protected $field = '';

    protected $schema = [
        'id' => 'int',
        'user_name' => 'string',
        'balance' => 'float',
    ];

    public function getList($where = []) {
        $list = $this->where($where)->select()->toArray();
        return $list;
    }


}